<div class="layui-header header header-demo">
    <div class="layui-main">
        <a class="logo" href="/">
            <img src="<?= HTTP_DOMAIN_ASSETS . '/' ?><?= empty(OC['backend_logo']) ? 'logo/default.png' : OC['backend_logo']; ?>">
        </a>
        <ul class="layui-nav" lay-filter="">
            <li class="layui-nav-item"><a href="">消息</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;"><img style="border-radius: 10%;width: 50px; height: 50px;"
                                            src="<?= HTTP_DOMAIN_ASSETS . '/' ?><?= empty(USER['avatar']) ? 'user_avatar/default.jpg' : USER['avatar']; ?>"></a>
                <dl class="layui-nav-child"> <!-- 二级菜单 -->
                    <dd><a href="/user/edit">编辑信息</a></dd>
                    <dd><a href="/admin/user/change-password">修改密码</a></dd>
                    <dd><a href="/home/logout">注销登录</a></dd>
                </dl>
            </li>
        </ul>
    </div>
</div>